package com.example.demo.com.example.factory.abstractFactory;

public class Test {
    public static void main(String[] args) {
        AbstractFactory zzmyJavaFactory = new ZZMYJavaFactory();
        zzmyJavaFactory.createCompany();
        zzmyJavaFactory.createJob();

        AbstractFactory bjcJavaFactory = new BJCJavaFactory();
        bjcJavaFactory.createCompany();
        bjcJavaFactory.createJob();

        AbstractFactory bjcPHPFactory = new BJCPHPFactory();
        bjcPHPFactory.createCompany();
        bjcPHPFactory.createJob();

        AbstractFactory zzmyPHPFactory = new ZZMYPHPFactory();
        zzmyPHPFactory.createCompany();
        zzmyPHPFactory.createJob();

    }
}


